<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>分类管理</title>
    <hdjs/>
    <bootstrap/>
    <style type="text/css">
        .plus_minus{
            width: 20px;
        }
    </style>
</head>
<body>
<div class="wrap">
    <table class="table2">
        <thead>
        <tr>
            <td width="30"></td>
            <td>分类id</td>
            <td>分类名称</td>
            <td>首字母大写</td>
         
            <td width="200">操作</td>
        </tr>
        </thead>
        <tbody>
            <foreach from="$allData" value="$v">
                <tr cid="{$v.did}">
                    <td width="30">
                    
                    <a href="javascript:;" class="glyphicon glyphicon-plus"></a>
                    
                    </td>
                    <td>{$v.did}</td>
                    <td>{$v._name}</td>
                    <td>{$v.ucwords}</td>
                    
                    <td width="200">
                        <a href="{|U:'District/add_son',array('did'=>$v['did'])}" class="btn btn-default btn-xs">添加子类</a>
                        <a href="{|U:'District/edit_cate',array('did'=>$v['did'])}" class="btn btn-default btn-xs">编辑</a>
                        <a href="javascript:;" class="btn btn-default btn-xs" onclick="if(confirm('确定删除吗？')) location.href='{|U:'District/del',array('did'=>$v['did'])}'">删除</a>
                    </td>
                </tr>
           </foreach>
        </tbody>
    </table>
    <div class="page_hdjob">
        
    </div>
</div>

</body>
</html>


